package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源对象 resource_table
 * 
 * @author ruoyi
 * @date 2024-04-18
 */
public class ResourceTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资源id */
    private Long resourceId;

    /** 资源名称 */
    @Excel(name = "资源名称")
    private String resourceName;

    /** 资源类型 */
    @Excel(name = "资源类型")
    private String resourceType;

    /** 资源数量单位 */
    @Excel(name = "资源数量单位")
    private String resourceUnits;

    /** 资源生产地 */
    @Excel(name = "资源生产地")
    private String resourceProductLocation;

    public void setResourceId(Long resourceId) 
    {
        this.resourceId = resourceId;
    }

    public Long getResourceId() 
    {
        return resourceId;
    }
    public void setResourceName(String resourceName) 
    {
        this.resourceName = resourceName;
    }

    public String getResourceName() 
    {
        return resourceName;
    }
    public void setResourceType(String resourceType) 
    {
        this.resourceType = resourceType;
    }

    public String getResourceType() 
    {
        return resourceType;
    }
    public void setResourceUnits(String resourceUnits) 
    {
        this.resourceUnits = resourceUnits;
    }

    public String getResourceUnits() 
    {
        return resourceUnits;
    }
    public void setResourceProductLocation(String resourceProductLocation) 
    {
        this.resourceProductLocation = resourceProductLocation;
    }

    public String getResourceProductLocation() 
    {
        return resourceProductLocation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resourceId", getResourceId())
            .append("resourceName", getResourceName())
            .append("resourceType", getResourceType())
            .append("resourceUnits", getResourceUnits())
            .append("resourceProductLocation", getResourceProductLocation())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
